-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errno: migrate test-infra to testify #26082
Conversation
Signed-off-by: tison <wander4096@gmail.com>
Signed-off-by: tison <wander4096@gmail.com>
/run-check_dev_2 |
/run-all-tests |
/run-unit-test |
Signed-off-by: tison <wander4096@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will approve after response, whether or not accept the following suggestion:
Use testify suite here, and mark this PR as a reference PR in the tracking issue, though it is indeed not necessary to use a suite.
EDIT: fix check_dev, plz.
@xhebox this pr already refers to subtasks of the tracking issue. We keep track on issues and do not lose the connection. Also the connection is one a bidirectional tree, i.e.:
.. given the path 2 is present, it is redundant to refer PR -> tracking issue. |
Be clear, I mean an reference/example of testify suite API usage, instead of reference to tasks/issues. |
Signed-off-by: tison <wander4096@gmail.com>
@xhebox testify suite runs serially inside, I'd prefer use as less suite as possible. You can follow the upstream thread stretchr/testify#187 for more information. I'm going to wrap suite with go testing and use testify for its matchers when parallelism is required. Anyway, testify suite is not a net win and I'll trade off use it or not. We don't use it here for no benefit (although also no harm in this case). |
Make sense. I will do it. Thanks for your suggestion! |
@xhebox comments resolved. PTAL when you have spare time :) |
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 9d51c92
|
/run-all-tests |
1 similar comment
/run-all-tests |
/cherry-pick release-5.1 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.1 in PR #28155 |
Signed-off-by: tison wander4096@gmail.com
What problem does this PR solve?
Issue Number:
errno
pkg #26081What's Changed:
Migrate test-infra to testify for
errno
pkg.Release note